package com.chaos.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.chaos.system.api.data.RbacUserData;
import com.chaos.system.api.dto.RbacUserDto;
import com.chaos.system.dto.RbacUserRolesDto;
import com.chaos.system.entity.RbacUser;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;
import org.apache.ibatis.annotations.Param;

/**
 * @author Jacky.Cui
 * @since 2024-11-13
 */
public interface RbacUserMapper extends BaseMapper<RbacUser> {

    IPage<RbacUserRolesDto> rolePage(Page page, @Param("query") RbacUserData data);

}
